package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.commom.entity.PageResult;
import com.jingdianjichi.subject.domain.entiy.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfoEs;

import java.util.List;

/**
 * <p>
 * 题目信息表 服务类
 * </p>
 *
 */
public interface SubjectInfoDomainService {

    /**
     * 添加题目
     * @param subjectInfoBO
     * @return
     */
    void   add(SubjectInfoBO subjectInfoBO);

    /**
     * 分页查询
     * @param subjectInfoBO
     * @return
     */
    PageResult<SubjectInfoBO> getSubjectPage(SubjectInfoBO subjectInfoBO);

    /**
     * 分页查询
     * @param subjectInfoBO
     * @return
     */
    SubjectInfoBO querySubjectInfo(SubjectInfoBO subjectInfoBO);
    /**
     * 全文检索
     * @param subjectInfoBO
     * @return
     */
    PageResult<SubjectInfoEs> getSubjectPageBySearch(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoBO> getContributeList();

    List<SubjectInfoBO> getCount();

}
